Bitmap for WPF
UpdateSubresource<T>(T,Resource,Int32,Int32,Int32,Nullable<ResourceRegion>) メソッド

C1.WPF.DX.4.5.2 アセンブリ > C1.Util.DX.Direct3D11 名前空間 > DeviceContext クラス > UpdateSubresource メソッド : UpdateSubresource<T>(T,Resource,Int32,Int32,Int32,Nullable<ResourceRegion>) メソッド
Type of the data to upload
A reference to the data to upload.
The destination resource.
The destination subresource.
The row pitch.
The depth pitch.
The region
Copies data from the CPU to to a non-mappable subresource region.
シンタックス
'宣言
 
Public Overloads Sub UpdateSubresource(Of T As {New, Struct})( _
   ByRef data As T, _
   ByVal resource As Resource, _
   Optional ByVal subresource As System.Integer, _
   Optional ByVal rowPitch As System.Integer, _
   Optional ByVal depthPitch As System.Integer, _
   Optional ByVal region As System.Nullable(Of ResourceRegion) _
) 
public void UpdateSubresource<T>( 
   ref T data,
   Resource resource,
   System.int subresource,
   System.int rowPitch,
   System.int depthPitch,
   System.Nullable<ResourceRegion> region
)
where T: new(), struct

パラメータ

data
A reference to the data to upload.
resource
The destination resource.
subresource
The destination subresource.
rowPitch
The row pitch.
depthPitch
The depth pitch.
region
The region

型パラメータ

T
Type of the data to upload
参照

DeviceContext クラス
DeviceContext メンバ
オーバーロード一覧